package com.yueqian.mapper;

import com.yueqian.pojo.Account;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AccountMapper {

    Account findAccountById(Integer id);

    List<Account> findAll();

    void updateAccount(String sourceName, String money);
}
